const express = require("express");
const router = express.Router(); // 创建服务器的实例对象
const shopping = require("../router_handler/shopping");

router.post("/addGoods", shopping.addGoods); // 加入购物车
router.get("/shoppingcarlist", shopping.shoppingCarList); // 加入购物车
router.post("/alterGoodsCount", shopping.alterGoodsCount); // 修改商品数量
router.post("/alterGoodsChecked", shopping.alterGoodsChecked); // 修改商品数量

module.exports = router;
